#ifndef _NETCLI_H_
#define _NETCLI_H_

#include <cstring>
#include <iostream>

class netcli {
private:
    int cli_fd;
    int ser_port;
    char ser_ip[32]; // to do, 16

public:
    netcli(char* ip, int port);
    ~netcli();
    int send(char* buf, int len);
    int recv(char* buf, int size);
};

#endif // _NETCLI_H_
